package com.ql.mangersystem.controller;

import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/hello")
@RestController
@Slf4j
@Api("测试接口")
@CrossOrigin(value = "http://localhost:5173/")
public class HelloController {
    @GetMapping
    public String hello() {
        return "hello";
    }
}
